package org.example.examsystem.service;

import org.example.examsystem.entity.ScoreQueryResult;
import org.example.examsystem.mapper.ScoreMapper;
import org.example.examsystem.service.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScoreServiceImpl implements ScoreService {

    @Autowired
    private ScoreMapper scoreMapper;

    @Override
    public List<ScoreQueryResult> getScores() {
        return scoreMapper.getScores();
    }
}
